package cn.itsy.service.sys_user_role;

import cn.itsy.dao.sys_user_role.SysUserRoleDao;
import cn.itsy.pojo.SysUserRole;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author: MisterGay
 * @date: 2019-06-17 9:33
 */
@Service("sysUserRoleServiceimpl")
public class SysUserRoleServiceimpl implements SysUserRoleService {
    @Resource(name = "sysUserRoleDaoImpl")
    private SysUserRoleDao sysUserRoleDao;

    @Override
    public void saveUserRole(String sql, SysUserRole sysUserRole) {
        this.sysUserRoleDao.saveSysUserRole(sql, sysUserRole);
    }
}
